// 后台账号接口
const admin = require('../controllers/admin')
module.exports = (router)=>{
  router.post("/login",admin.login)  //登入接口
  router.post("/admin/edit",admin.edit) // 修改资料
  router.get("/admin/list",admin.list)
  router.post("/admin/add",admin.add)
  router.get("/admin/del",admin.del)
}